//
//  UpMenuView.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/28.
//
//

#ifndef __FruitCrush__UpMenuView__
#define __FruitCrush__UpMenuView__
#include "cocos2d.h"
USING_NS_CC;

#define UP_MENU_XPAD  10
#define UP_MENU_YPAD  300

class UpMenuView : public cocos2d::Layer
{
public:
    CREATE_FUNC(UpMenuView);
    virtual bool init() override;
    UpMenuView();
    
    
private:
    bool m_isActioning;
    void menuInit();
    void menuCallback(Ref *sender);
    void menuCloseOrOpen(bool isClose);
    void actionEndCallback(Node *node);
    
    
    
};

#endif /* defined(__FruitCrush__UpMenuView__) */
